package dfbz.字符输入流;

import java.io.File;
import java.io.FileReader;
import java.io.IOException;

public class demo01 {
    public static void main(String[] args) throws IOException {
        FileReader fr=new FileReader(new File("E:\\东方标准\\JAVASE阶段\\JAVASE-CODE\\Day18\\b.txt"));
        int len=0;
        char[] arr=new char[1024];
        while ((len=fr.read(arr))!=-1){
            System.out.println(arr);
        }
        fr.close();
    }
}
